/**
 * Created by IntelliJ IDEA.
 * User: sasha.kon
 * Date: 16.10.2010
 * Time: 14:05:53
 * ыыыы
 */
public class C3 {
    public static void main(String[] args) {
        Thread t = new Thread() {
            @Override
            public void run() {
                System.out.println(Thread.currentThread().getName());
            }
        };



        
        
        t.start();
        Runnable r = new Runnable() {
            public void run() {
                System.out.println("runnable.run");
            }
        };
        new Thread(r).start();

    }
}  